namespace OpenWaves
{
    public partial class CharacterWidth
    {
        public readonly static ICharacterWidthStatisticsProvider Constant = new ConstantWidthStatistics();

        private class ConstantWidthStatistics : ICharacterWidthStatisticsProvider
        {
            public double GetCharacterWidth(char ch)
            {
                return 1;
            }
        }
    }
}